package top.whysu.gps.dto.navigation;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 航行发送记录表新增实体类
 */
public class NavigationRecordAddDTO {
    /**
    * 航行日程表id, 对应navigation表的主键id
    */
    @NotNull(message = "请指定航行日程表！")
    private BigDecimal navigationId;
    /**
    * 经度，值范围ddmm.mmmmmmmm
    */
    private String longitude;
    /**
    * 经度类型，东经E，西经W
    */
    private String longitudeType;
    /**
    * 纬度，值范围ddmm.mmmmmmmm
    */
    private String latitude;
    /**
    * 纬度类型，北纬N，南纬S
    */
    private String latitudeType;
    /**
    * 速度，取值范围000.0~999.9，单位节，一节也是1.852千米／小时
    */
    private String speed;
    /**
     * 方向角
     */
    private String course;
    /**
     * 发送内容
     */
    private String sendContent;
    /**
    * 发送状态{@link top.whysu.gps.constant.DataDictionary.SendStatus}
    */
    private Integer sendStatus;
    /**
    * 发送失败原因
    */
    private String sendFailReason;
    /**
    * 航行模式，数据字典dataType=5, 航行模式1，漂浮模式2，锚泊模式3
    */
    private Integer mode;
    /**
     * 航线表route_current对应id
     */
    private BigDecimal routeId;

    public BigDecimal getNavigationId() {
        return navigationId;
    }

    public void setNavigationId(BigDecimal navigationId) {
        this.navigationId = navigationId;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLongitudeType() {
        return longitudeType;
    }

    public void setLongitudeType(String longitudeType) {
        this.longitudeType = longitudeType;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLatitudeType() {
        return latitudeType;
    }

    public void setLatitudeType(String latitudeType) {
        this.latitudeType = latitudeType;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public String getSendContent() {
        return sendContent;
    }

    public void setSendContent(String sendContent) {
        this.sendContent = sendContent;
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getSendFailReason() {
        return sendFailReason;
    }

    public void setSendFailReason(String sendFailReason) {
        this.sendFailReason = sendFailReason;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }

    public BigDecimal getRouteId() {
        return routeId;
    }

    public void setRouteId(BigDecimal routeId) {
        this.routeId = routeId;
    }
}